package com.spar.openprojects.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.spar.openprojects.client.composite.OrdersComposite;
import com.spar.openprojects.client.composite.ProjectsComposite;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class OpenProjects implements EntryPoint {

	public void onModuleLoad() {

		RootPanel rootPanel = RootPanel.get();
		rootPanel.setSize("1200px", "800px");
		ProjectsComposite projectsComposite = new ProjectsComposite();
		RootPanel.get("openprojectsContainer").add(projectsComposite);
		RootPanel.get("openprojectsContainer").add(new OrdersComposite());

	}

}
